package com.shanzhu.beadhouse.dao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shanzhu.beadhouse.entity.po.PaymentOrder;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 支付订单Mapper
 */
@Mapper
public interface PaymentOrderMapper extends BaseMapper<PaymentOrder> {
    
    /**
     * 根据订单号查询支付订单
     */
    PaymentOrder selectByOrderNo(@Param("orderNo") String orderNo);
    
    /**
     * 根据微信交易号查询支付订单
     */
    PaymentOrder selectByTransactionId(@Param("transactionId") String transactionId);
} 